
using Wips.AppService.CommonViewModels;

namespace Wips.AppService.Authorities.Menus.ViewModels;



/// <summary>
/// 
/// </summary>
public class TreeTableModel
{
    /// <summary>
    /// 索引值
    /// </summary>
    public int Index { get; set; }

    /// <summary>
    /// 层级
    /// </summary>
    public int Level { get; set; }

    /// <summary>
    /// 值
    /// </summary>
    public string Value { get; set; } = string.Empty;

    /// <summary>
    /// Label
    /// </summary>
    public string? Label { get; set; } = string.Empty;

    /// <summary>
    /// 菜单类型
    /// </summary>
    public string MenuType { get; set; } = string.Empty;

    /// <summary>
    /// 菜单图标
    /// </summary>
    public string? MenuIcon { get; set; }

    /// <summary>
    /// 是否显示
    /// </summary>
    public bool IsInside { get; set; }

    /// <summary>
    /// 是否选中
    /// </summary>
    public bool Checked { get; set; }

    /// <summary>
    /// 子级
    /// </summary>
    public List<TreeTableModel> Children { get; set; }

    /// <summary>
    /// 操作列表
    /// </summary>
    public List<CheckboxViewModel> Operations { get; set; }
}